﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Geolocation;

namespace MapHello.Service
{
    public static class LocationService
    {
        static LocationService()
        {
            GeoLocator = new Geolocator()
            {
                DesiredAccuracy = PositionAccuracy.High,
                DesiredAccuracyInMeters = 50,
                MovementThreshold = 20
            };
        }

        public static Geolocator GeoLocator { get; private set; }
    }
}
